package com.cashmama.market.api.domain.vo.user;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @program: market-api
 * @description IFSC校验返回
 * @author: frank
 * @create: 2020-03-18 10:51
 **/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class IFSCCheckResponse {

    /**
     * 分支
     */
    @JsonProperty("BRANCH")
    private String branch;
    /**
     * 地址
     */
    @JsonProperty("ADDRESS")
    private String address;
    /**
     * 联系方式
     */
    @JsonProperty("CONTACT")
    private String contact;
    /**
     * 区
     */
    @JsonProperty("DISTRICT")
    private String district;
    /**
     * 州
     */
    @JsonProperty("STATE")
    private String state;
    /**
     * 市
     */
    @JsonProperty("CITY")
    private String city;
    /**
     * 银行名
     */
    @JsonProperty("BANK")
    private String bank;
    /**
     * 银行编号(IFSC的前几个字母)
     */
    @JsonProperty("BANKCODE")
    private String bankCode;
    /**
     * IFSC
     */
    @JsonProperty("IFSC")
    private String ifsc;
    /**
     * RTGS
     * real time gross settlement 实时总结算
     */
    @JsonProperty("RTGS")
    private Boolean rtgs;
    /**
     * 校验成功
     */
    private boolean checkSuccess;

    public String getBranch() {
        return branch;
    }

    public IFSCCheckResponse setBranch(String branch) {
        this.branch = branch;
        return this;
    }

    public String getAddress() {
        return address;
    }

    public IFSCCheckResponse setAddress(String address) {
        this.address = address;
        return this;
    }

    public String getContact() {
        return contact;
    }

    public IFSCCheckResponse setContact(String contact) {
        this.contact = contact;
        return this;
    }

    public String getDistrict() {
        return district;
    }

    public IFSCCheckResponse setDistrict(String district) {
        this.district = district;
        return this;
    }

    public String getState() {
        return state;
    }

    public IFSCCheckResponse setState(String state) {
        this.state = state;
        return this;
    }

    public String getCity() {
        return city;
    }

    public IFSCCheckResponse setCity(String city) {
        this.city = city;
        return this;
    }

    public String getBank() {
        return bank;
    }

    public IFSCCheckResponse setBank(String bank) {
        this.bank = bank;
        return this;
    }

    public String getBankCode() {
        return bankCode;
    }

    public IFSCCheckResponse setBankCode(String bankCode) {
        this.bankCode = bankCode;
        return this;
    }

    public String getIfsc() {
        return ifsc;
    }

    public IFSCCheckResponse setIfsc(String ifsc) {
        this.ifsc = ifsc;
        return this;
    }

    public Boolean getRtgs() {
        return rtgs;
    }

    public IFSCCheckResponse setRtgs(Boolean rtgs) {
        this.rtgs = rtgs;
        return this;
    }

    public boolean isCheckSuccess() {
        return checkSuccess;
    }

    public IFSCCheckResponse setCheckSuccess(boolean checkSuccess) {
        this.checkSuccess = checkSuccess;
        return this;
    }
}
